<!DOCTYPE html>
<html lang="en">

<head>
	<meta charset="UTF-8">
	<title>学员信息</title>
	<link rel="stylesheet" href="./css/list.css">
</head>

<body>
	<table>
		<caption>学员信息</caption>
		<tr>
			<th>姓名</th>
			<th>年龄</th>
			<th>性别</th>
			<th>邮箱地址</th>
			<th>爱好</th>
			<th>所属学院</th>
			<th>入学时间</th>
		</tr>
		{{each studentArr v }}
		<tr>
			<th>{{v.name}}</th>
			<th>{{v.age}}</th>
			<th>{{v.sex == '0' ? '男' : '女'}}</th>
			<th>{{v.email}}</th>
			<th>
				{{each v.hobbies v}}
				<span>{{v}}</span>
				{{/each}}
			</th>
			<th>{{v.collage}}</th>
			<th>{{dateformat(v.enterDate, 'yyyy-mm-dd')}}</th>
		</tr>
		{{/each}}

	</table>
</body>

</html>